//
//  StatisticHeaderView.m
//  PropertyMananger
//
//  Created by bh on 17/1/13.
//  Copyright © 2017年 BH. All rights reserved.
//

#import "StatisticHeaderView.h"

@implementation StatisticHeaderView
//- (instancetype)in
-(instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.headerTitleLabel = [[UILabel alloc]init];
        [self.contentView addSubview:self.headerTitleLabel];
    
        self.headerTitleLabel.textAlignment = NSTextAlignmentLeft;
        self.headerTitleLabel.font = BHFont(15);
        self.headerTitleLabel.textColor = BHColor(51, 51, 51);
        
        [self.headerTitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
//            make.leading.equalTo(self).with.offset(15);
//            make.centerY.equalTo(self).with.offset(10);
//            make.size.mas_equalTo(CGSizeMake(100, 25));
            make.left.mas_equalTo(15);
            make.centerY.equalTo(self.contentView);
            make.width.mas_equalTo(100);
        }];
    }
    
    return self;
}

@end
